// declare constants to use with page navigation array
// Page navigation array is instantiated when main Wizard
// button is pressed to determine
** END HEADER -- do not remove this line
//
// Generated on 11/20/97
//
parameter bModal
local f
f = new WebWizardForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class WebWizardForm of FORM
set procedure to WIZHTML.CC additive
with (this)
onOpen = class::FORM_ONOPEN
onClose = class::FORM_ONCLOSE
open = class::FORM_OPEN
readModal = class::FORM_READMODAL
scaleFontSize = 8
scaleFontBold = false
metric = 6 // Pixels
colorNormal = ""
height = 338
left = 131
top = 42
width = 478
text = "Visual dBASE 7 Web Wizards"
autoCenter = true
mdi = false
sizeable = false
escExit = false
maximize = false
refreshAlways = false
endwith
this.WIZTEMP1 = new QUERY()
this.WIZTEMP1.parent = this
with (this.WIZTEMP1)
left = 25
top = 242
sql = 'select * from "wiztemp.dbf"'
active = true
endwith
this.MASK = new RECTANGLE(this)
with (this.MASK)
left = -3
top = -2
width = 518
height = 340
metric = 6 // Pixels
text = "Rectangle1"
colorNormal = "WindowText/BtnFace"
border = false
fontName = "MS Sans Serif"
fontSize = 8
pageno = 0
borderStyle = 3 // None
endwith
this.BACKBUTTON = new PUSHBUTTON(this)
with (this.BACKBUTTON)
onClick = class::BACKBUTTON_ONCLICK
enabled = false
height = 22
left = 92
top = 301
width = 84
text = "Back"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.NEXTBUTTON = new PUSHBUTTON(this)
with (this.NEXTBUTTON)
onClick = class::NEXTBUTTON_ONCLICK
enabled = false
height = 22
left = 176
top = 301
width = 84
text = "Next"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.CANCELBUTTON = new PUSHBUTTON(this)
with (this.CANCELBUTTON)
onClick = class::CANCELBUTTON_ONCLICK
height = 22
left = 272
top = 301
width = 84
text = "Cancel"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.HELPBUTTON = new PUSHBUTTON(this)
with (this.HELPBUTTON)
onClick = class::HELPBUTTON_ONCLICK
height = 22
left = 367
top = 301
width = 84
text = "Help"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.ARROW1 = new IMAGE(this)
with (this.ARROW1)
height = 70
left = 261
top = 96
width = 100
metric = 6 // Pixels
dataSource = "FILENAME www.bmp"
alignment = 4 // True Size
borderStyle = 3 // None
endwith
this.TEXT1 = new TEXT(this)
with (this.TEXT1)
height = 47
left = 100
top = 13
width = 323
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "<p>This Wizard helps you create Visual dBASE 7 Web applications.</p><p>Select the type of application you wish to create.</p>"
endwith
this.ARROW2 = new IMAGE(this)
with (this.ARROW2)
height = 13
left = 74
top = 14
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
borderStyle = 3 // None
endwith
this.DATAENTRYBUTTON = new PUSHBUTTON(this)
with (this.DATAENTRYBUTTON)
onClick = class::DATAENTRYBUTTON_ONCLICK
height = 68
left = 99
top = 97
width = 139
text = "Remote Data Entry"
metric = 6 // Pixels
upBitmap = "filename DataEntr.bmp"
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
value = false
endwith
this.TEXT2 = new TEXT(this)
with (this.TEXT2)
height = 27
left = 83
top = 5
width = 147
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<b><font size=5>First Page Title</font></b>"
pageno = 9
endwith
this.DRILLDOWNBUTTON = new PUSHBUTTON(this)
with (this.DRILLDOWNBUTTON)
onClick = class::DRILLDOWNBUTTON_ONCLICK
height = 68
left = 99
top = 168
width = 139
text = "Query And Response"
metric = 6 // Pixels
upBitmap = "filename Query.bmp"
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
value = false
endwith
this.TEXT3 = new TEXT(this)
with (this.TEXT3)
height = 19
left = 98
top = 35
width = 329
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter and format the title for the starting page of your application."
pageno = 9
endwith
this.PUBLISHBUTTON = new PUSHBUTTON(this)
with (this.PUBLISHBUTTON)
onClick = class::PUBLISHBUTTON_ONCLICK
height = 68
left = 241
top = 168
width = 139
text = "Publish"
metric = 6 // Pixels
upBitmap = "filename Reports.bmp"
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
value = false
endwith
this.TOPTEXTTITLE = new TEXT(this)
with (this.TOPTEXTTITLE)
height = 27
left = 83
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Text Above Data-Entry Area</h2>"
pageno = 10
endwith
this.TOPTEXTLABEL = new TEXT(this)
with (this.TOPTEXTLABEL)
height = 33
left = 98
top = 35
width = 379
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter and format the text that will appear above data-entry area (optional)"
pageno = 10
endwith
this.ARROW3 = new IMAGE(this)
with (this.ARROW3)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 9
borderStyle = 3 // None
endwith
this.ARROW4 = new IMAGE(this)
with (this.ARROW4)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 10
borderStyle = 3 // None
endwith
this.DATASOURCEFIELD = new ENTRYFIELD(this)
with (this.DATASOURCEFIELD)
height = 19
left = 95
top = 171
width = 303
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 4
borderStyle = 7 // Client
endwith
this.DATAMODULELOOKUPBUTTON = new PUSHBUTTON(this)
with (this.DATAMODULELOOKUPBUTTON)
onClick = class::DATAMODULELOOKUPBUTTON_ONCLICK
height = 19
left = 411
top = 171
width = 27
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 4
value = false
endwith
this.TEXT4 = new TEXT(this)
with (this.TEXT4)
height = 28
left = 98
top = 35
width = 340
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Select a table or Data Module to supply the fields for this Web data-entry application."
pageno = 4
endwith
this.ARROW5 = new IMAGE(this)
with (this.ARROW5)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 4
borderStyle = 3 // None
endwith
this.TEXT5 = new TEXT(this)
with (this.TEXT5)
height = 22
left = 83
top = 5
width = 137
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<font size=5><b>Data Source</b></font>"
pageno = 4
endwith
this.TEXT6 = new TEXT(this)
with (this.TEXT6)
height = 61
left = 98
top = 99
width = 340
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "If you're using a remote data engine or a local table that requires a log-in, you must use a Data Module that contains a database object with a hard-wired LoginString for anonymous log-in from the browser."
pageno = 4
endwith
this.ARROW6 = new IMAGE(this)
with (this.ARROW6)
height = 13
left = 83
top = 100
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 4
borderStyle = 3 // None
endwith
this.AVAILABLEFIELDSLIST = new LISTBOX(this)
with (this.AVAILABLEFIELDSLIST)
height = 190
left = 84
top = 75
width = 164
metric = 6 // Pixels
id = 131
fontSize = 8
colorHighLight = "HighLightText/HighLight"
pageno = 5
endwith
this.SELECTONEBUTTON = new PUSHBUTTON(this)
with (this.SELECTONEBUTTON)
onClick = class::SELECTONEBUTTON_ONCLICK
height = 19
left = 253
top = 119
width = 30
text = ">"
metric = 6 // Pixels
group = false
colorNormal = "BtnText/BtnFace"
pageno = 5
value = false
endwith
this.SELECTALLBUTTON = new PUSHBUTTON(this)
with (this.SELECTALLBUTTON)
onClick = class::SELECTALLBUTTON_ONCLICK
height = 19
left = 253
top = 144
width = 30
text = ">>"
metric = 6 // Pixels
group = false
colorNormal = "BtnText/BtnFace"
pageno = 5
value = false
endwith
this.DESELECTONEBUTTON = new PUSHBUTTON(this)
with (this.DESELECTONEBUTTON)
onClick = class::DESELECTONEBUTTON_ONCLICK
height = 19
left = 253
top = 169
width = 30
text = "<"
metric = 6 // Pixels
group = false
colorNormal = "BtnText/BtnFace"
pageno = 5
value = false
endwith
this.DESELECTALLBUTTON = new PUSHBUTTON(this)
with (this.DESELECTALLBUTTON)
onClick = class::DESELECTALLBUTTON_ONCLICK
height = 19
left = 253
top = 194
width = 30
text = "<<"
metric = 6 // Pixels
group = false
colorNormal = "BtnText/BtnFace"
pageno = 5
value = false
endwith
this.SELECTEDFIELDSLIST = new LISTBOX(this)
with (this.SELECTEDFIELDSLIST)
height = 190
left = 286
top = 75
width = 164
metric = 6 // Pixels
id = 131
fontSize = 8
colorHighLight = "HighLightText/HighLight"
pageno = 5
endwith
this.TEXT7 = new TEXT(this)
with (this.TEXT7)
height = 14
left = 98
top = 35
width = 340
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Select the fields you wish to appear on the data-entry page."
pageno = 5
endwith
this.ARROW7 = new IMAGE(this)
with (this.ARROW7)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 5
borderStyle = 3 // None
endwith
this.TEXT8 = new TEXT(this)
with (this.TEXT8)
height = 22
left = 83
top = 5
width = 137
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<b><font size=5>Fields</font></b>"
pageno = 5
endwith
this.APPEARANCETEXT = new TEXT(this)
with (this.APPEARANCETEXT)
height = 61
left = 97
top = 35
width = 340
metric = 6 // Pixels
colorNormal = "BtnText/w"
fontSize = 8
l0 = "Select a background color and a background image (optional) for all pages of your data-entry application. Even if you use an image for your background, you should select a matching color as it will be displayed while the background image loads in the brows"
text = "Enter and format the text that will appear below data-entry area (optional)"
pageno = 11
endwith
this.ARROW9 = new IMAGE(this)
with (this.ARROW9)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 11
borderStyle = 3 // None
endwith
this.TEXT13 = new TEXT(this)
with (this.TEXT13)
height = 22
left = 83
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Mail and Home</h2>"
pageno = 13
endwith
this.TEXT17 = new TEXT(this)
with (this.TEXT17)
height = 33
left = 98
top = 35
width = 351
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "This Wizard helps you add links to your home page and e-mail address. Select images or text for Home and Mail (optional)."
pageno = 13
endwith
this.FIRSTPAGETITLE = new HTMLGET(this)
with (this.FIRSTPAGETITLE)
transparent = true
left = 85
top = 59
width = 368
height = 218
metric = 6 // Pixels
pageno = 9
endwith
this.PAGELOGO = new IMAGE(this)
with (this.PAGELOGO)
visible = false
height = 70
left = 8
top = 2
width = 60
metric = 6 // Pixels
dataSource = "FILENAME Dataentr.bmp"
alignment = 4 // True Size
pageno = 0
borderStyle = 3 // None
endwith
this.RECTANGLE1 = new RECTANGLE(this)
with (this.RECTANGLE1)
left = 100
top = 181
width = 347
height = 101
metric = 6 // Pixels
text = "Filename and URL"
colorNormal = "WindowText/BtnFace"
fontSize = 8
pageno = 3
endwith
this.FOLDERBOX = new RECTANGLE(this)
with (this.FOLDERBOX)
left = 99
top = 83
width = 347
height = 97
metric = 6 // Pixels
text = "Folders"
colorNormal = "WindowText/BtnFace"
fontSize = 8
pageno = 3
endwith
this.TEXT19 = new TEXT(this)
with (this.TEXT19)
height = 14
left = 107
top = 101
width = 293
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Windows Folder for starting HTML page"
pageno = 3
endwith
this.TEXT20 = new TEXT(this)
with (this.TEXT20)
height = 14
left = 107
top = 138
width = 293
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Windows Folder for Web Server CGI-Bin"
pageno = 3
endwith
this.TEXT18 = new TEXT(this)
with (this.TEXT18)
height = 14
left = 108
top = 201
width = 293
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Filename for .htm, .prg and .exe"
pageno = 3
endwith
this.TEXT21 = new TEXT(this)
with (this.TEXT21)
height = 14
left = 108
top = 240
width = 293
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "URL to CGI (ex: www.mysite.com/cgi-bin/)"
pageno = 3
endwith
this.LOCATIONSTEXT = new TEXT(this)
with (this.LOCATIONSTEXT)
height = 42
left = 98
top = 35
width = 332
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "This Wizard requires information about your web site and Windows folders in order to generate and run your application. Enter the information as indicated below: "
pageno = 3
endwith
this.ARROW10 = new IMAGE(this)
with (this.ARROW10)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 3
borderStyle = 3 // None
endwith
this.HTMLPATHFIELD = new ENTRYFIELD(this)
with (this.HTMLPATHFIELD)
onChange = class::VALIDATEPATHS
height = 19
left = 107
top = 115
width = 294
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 3
borderStyle = 7 // Client
endwith
this.CGIPATHFIELD = new ENTRYFIELD(this)
with (this.CGIPATHFIELD)
onChange = class::VALIDATEPATHS
height = 19
left = 107
top = 153
width = 294
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 3
borderStyle = 7 // Client
endwith
this.FILENAMEFIELD = new ENTRYFIELD(this)
with (this.FILENAMEFIELD)
key = class::FILENAMEFIELD_KEY
height = 19
left = 108
top = 216
width = 166
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 3
borderStyle = 7 // Client
endwith
this.URLFIELD = new ENTRYFIELD(this)
with (this.URLFIELD)
key = class::URLFIELD_KEY
height = 19
left = 108
top = 255
width = 327
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 3
borderStyle = 7 // Client
endwith
this.HTMLPATHBUTTON = new PUSHBUTTON(this)
with (this.HTMLPATHBUTTON)
onClick = class::HTMLPATHBUTTON_ONCLICK
height = 19
left = 408
top = 115
width = 27
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 3
value = false
endwith
this.CGIPATHBUTTON = new PUSHBUTTON(this)
with (this.CGIPATHBUTTON)
onClick = class::CGIPATHBUTTON_ONCLICK
height = 19
left = 408
top = 153
width = 27
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 3
value = false
endwith
this.TEXT22 = new TEXT(this)
with (this.TEXT22)
height = 22
left = 83
top = 5
width = 167
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<font size=5><b>Paths And URLs</b></font>"
text = "Select a graphic logo image to use at the top of your starting page (optional)."
pageno = 8
endwith
this.RECTANGLE2 = new RECTANGLE(this)
with (this.RECTANGLE2)
left = 101
top = 236
width = 349
height = 46
metric = 6 // Pixels
text = "Alignment"
colorNormal = "WindowText/BtnFace"
fontSize = 8
pageno = 8
endwith
this.ARROW13 = new IMAGE(this)
with (this.ARROW13)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 8
borderStyle = 3 // None
endwith
this.LOGOIMAGE = new IMAGE(this)
with (this.LOGOIMAGE)
height = 131
left = 98
top = 68
width = 350
metric = 6 // Pixels
alignment = 1 // Top Left
pageno = 8
borderStyle = 2 // Lowered
endwith
this.LOGOIMAGEFIELD = new ENTRYFIELD(this)
with (this.LOGOIMAGEFIELD)
onChange = class::LOGOIMAGEFIELD_ONCHANGE
height = 19
left = 98
top = 207
width = 315
metric = 6 // Pixels
colorHighLight = ""
fontName = "MS Sans Serif"
fontSize = 8
value = " "
maxLength = 100
pageno = 8
borderStyle = 7 // Client
endwith
this.TOPLEFTRADIO = new RADIOBUTTON(this)
with (this.TOPLEFTRADIO)
height = 19
left = 116
top = 254
width = 70
text = "Top/Left"
metric = 6 // Pixels
colorNormal = "WindowText/BtnFace"
fontSize = 8
group = true
value = true
pageno = 8
endwith
this.TOPCENTERRADIO = new RADIOBUTTON(this)
with (this.TOPCENTERRADIO)
height = 19
left = 239
top = 254
width = 79
text = "Top/center"
metric = 6 // Pixels
colorNormal = "WindowText/BtnFace"
fontSize = 8
group = false
value = false
pageno = 8
endwith
this.LEFTOFTITLERADIO = new RADIOBUTTON(this)
with (this.LEFTOFTITLERADIO)
height = 19
left = 361
top = 254
width = 75
text = "Left of title"
metric = 6 // Pixels
colorNormal = "WindowText/BtnFace"
fontSize = 8
group = false
value = false
pageno = 8
endwith
this.TEXT31 = new TEXT(this)
with (this.TEXT31)
height = 22
left = 82
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Generate Application</h2>"
pageno = 14
endwith
this.TEXT32 = new TEXT(this)
with (this.TEXT32)
height = 40
left = 98
top = 35
width = 351
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "<p>Click the Finish button to generate your Web data-entry application.</p><p>The following files will be created:</p>"
pageno = 14
endwith
this.ARROW14 = new IMAGE(this)
with (this.ARROW14)
height = 13
left = 83
top = 36
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 14
borderStyle = 3 // None
endwith
this.LOGOBUTTON = new PUSHBUTTON(this)
with (this.LOGOBUTTON)
onClick = class::LOGOBUTTON_ONCLICK
height = 19
left = 421
top = 207
width = 29
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 8
value = false
endwith
this.FINISHLIST = new LISTBOX(this)
with (this.FINISHLIST)
height = 130
left = 98
top = 82
width = 349
metric = 6 // Pixels
id = 208
fontSize = 8
colorNormal = "N/W+"
colorHighLight = "HighLightText/HighLight"
pageno = 14
endwith
this.PROGRESS1 = new PROGRESS(this)
with (this.PROGRESS1)
height = 19
left = 98
top = 250
width = 349
metric = 6 // Pixels
pageno = 14
value = 0
rangeMin = 0
rangeMax = 100
endwith
this.RECTANGLE3 = new RECTANGLE(this)
with (this.RECTANGLE3)
left = 97
top = 90
width = 351
height = 56
metric = 6 // Pixels
text = "Search Criteria"
colorNormal = "BtnText/BtnFace"
fontSize = 8
pageno = 15
endwith
this.FINISHLABEL = new TEXT(this)
with (this.FINISHLABEL)
height = 19
left = 98
top = 230
width = 300
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Progress"
pageno = 14
endwith
this.ENTRYFIELDRADIO = new RADIOBUTTON(this)
with (this.ENTRYFIELDRADIO)
onChange = class::ENTRYFIELDRADIO_ONCHANGE
height = 24
left = 162
top = 108
width = 79
text = "Entryfield"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = true
value = true
pageno = 15
endwith
this.COMBOBOXRADIO = new RADIOBUTTON(this)
with (this.COMBOBOXRADIO)
onChange = class::COMBOBOXRADIO_ONCHANGE
height = 24
left = 289
top = 108
width = 83
text = "Combobox"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = false
value = false
pageno = 15
endwith
this.RECTANGLE4 = new RECTANGLE(this)
with (this.RECTANGLE4)
left = 96
top = 212
width = 351
height = 56
metric = 6 // Pixels
text = "Drill-Down Levels"
colorNormal = "BtnText/BtnFace"
fontSize = 8
pageno = 15
endwith
this.SINGLEREPORTRADIO = new RADIOBUTTON(this)
with (this.SINGLEREPORTRADIO)
onChange = class::SINGLEREPORTRADIO_ONCHANGE
height = 24
left = 162
top = 231
width = 92
text = "Single Report"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = true
value = true
pageno = 15
endwith
this.DRILLDOWNRADIO = new RADIOBUTTON(this)
with (this.DRILLDOWNRADIO)
onChange = class::DRILLDOWNRADIO_ONCHANGE
height = 24
left = 289
top = 231
width = 79
text = "Drill-Down"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
enabled = false
fontSize = 8
group = false
value = false
pageno = 15
endwith
this.TEXT9 = new TEXT(this)
with (this.TEXT9)
height = 22
left = 82
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Query</h2>"
pageno = 15
endwith
this.TEXT16 = new TEXT(this)
with (this.TEXT16)
height = 47
left = 98
top = 36
width = 353
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "The first page of your Query and Response application supports either an entryfield (HTML Text Object) or Combobox (HTML Select) for the user to enter or select their search criteria."
pageno = 15
endwith
this.IMAGE15 = new IMAGE(this)
with (this.IMAGE15)
height = 13
left = 83
top = 37
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 15
borderStyle = 3 // None
endwith
this.TEXT34 = new TEXT(this)
with (this.TEXT34)
height = 47
left = 99
top = 161
width = 353
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Your Query and Response Web application can run a single report, or drill down from the first report into a second. Select the type of Query and Response application you'd like to develop."
pageno = 15
endwith
this.IMAGE16 = new IMAGE(this)
with (this.IMAGE16)
height = 13
left = 84
top = 162
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 15
borderStyle = 3 // None
endwith
this.TEXT35 = new TEXT(this)
with (this.TEXT35)
height = 22
left = 83
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Text On Response Page</h2>"
pageno = 12
endwith
this.TEXT36 = new TEXT(this)
with (this.TEXT36)
height = 14
left = 98
top = 35
width = 351
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter and format the text that will appear upon successful completion."
pageno = 12
endwith
this.IMAGE17 = new IMAGE(this)
with (this.IMAGE17)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 12
borderStyle = 3 // None
endwith
this.TEXTONRESPONSEPAGE = new HTMLGET(this)
with (this.TEXTONRESPONSEPAGE)
transparent = true
left = 85
top = 59
width = 368
height = 218
metric = 6 // Pixels
pageno = 12
endwith
this.LINE2 = new RECTANGLE(this)
with (this.LINE2)
left = 23
top = 292
width = 430
height = 1
metric = 6 // Pixels
text = "Rectangle2"
colorNormal = "W+/W+"
pageno = 0
borderStyle = 3 // None
endwith
this.LINE1 = new RECTANGLE(this)
with (this.LINE1)
left = 23
top = 290
width = 430
height = 2
metric = 6 // Pixels
text = "Rectangle1"
colorNormal = "N+/N+"
pageno = 0
borderStyle = 3 // None
endwith
this.TEXT38 = new TEXT(this)
with (this.TEXT38)
height = 22
left = 82
top = 5
width = 277
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 8
text = "<h2>Combobox (Select) Options</h2>"
pageno = 16
endwith
this.TEXT39 = new TEXT(this)
with (this.TEXT39)
height = 61
left = 98
top = 36
width = 353
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter the options you wish to make available in your HTLM select. Each option must be entered in<i> exactly</i> the format needed to perform a successful looku except for case. All lookups will be converted to upper case.."
pageno = 16
endwith
this.IMAGE19 = new IMAGE(this)
with (this.IMAGE19)
height = 13
left = 83
top = 37
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 16
borderStyle = 3 // None
endwith
this.OPTIONFIELD = new ENTRYFIELD(this)
with (this.OPTIONFIELD)
height = 20
left = 100
top = 106
width = 166
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = " "
pageno = 16
borderStyle = 7 // Client
endwith
this.ADDOPTIONBUTTON = new PUSHBUTTON(this)
with (this.ADDOPTIONBUTTON)
onClick = class::ADDOPTIONBUTTON_ONCLICK
height = 22
left = 173
top = 137
width = 93
text = "&Add Option"
metric = 6 // Pixels
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 16
value = false
endwith
this.REMOVEOPTIONBUTTON = new PUSHBUTTON(this)
with (this.REMOVEOPTIONBUTTON)
onClick = class::REMOVEOPTIONBUTTON_ONCLICK
height = 22
left = 173
top = 168
width = 93
text = "&Remove Option"
metric = 6 // Pixels
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 16
value = false
endwith
this.OPTIONLIST = new LISTBOX(this)
with (this.OPTIONLIST)
height = 170
left = 284
top = 104
width = 159
metric = 6 // Pixels
id = 231
fontSize = 8
colorHighLight = "HighLightText/HighLight"
pageno = 16
endwith
this.TEXT25 = new TEXT(this)
with (this.TEXT25)
height = 22
left = 82
top = 5
width = 341
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 12
fontBold = true
text = "<h3>Report That Responds to Query</h3>"
pageno = 17
endwith
this.TEXT26 = new TEXT(this)
with (this.TEXT26)
height = 22
left = 82
top = 5
width = 326
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 12
fontBold = true
text = "<h3>Drill-Down Report</h3>"
pageno = 18
endwith
this.SECONDREPORTFIELD = new ENTRYFIELD(this)
with (this.SECONDREPORTFIELD)
onChange = class::SECONDREPORTFIELD_ONCHANGE
height = 19
left = 97
top = 151
width = 317
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = " "
pageno = 18
borderStyle = 7 // Client
endwith
this.SECONDREPORTBUTTON = new PUSHBUTTON(this)
with (this.SECONDREPORTBUTTON)
onClick = class::SECONDREPORTBUTTON_ONCLICK
height = 19
left = 425
top = 151
width = 25
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = false
colorNormal = "BtnText/BtnFace"
pageno = 18
value = false
endwith
this.TEXT40 = new TEXT(this)
with (this.TEXT40)
height = 28
left = 98
top = 35
width = 353
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "This WIzard will call a second report when the user clicks on an item on the initial report."
pageno = 18
endwith
this.IMAGE20 = new IMAGE(this)
with (this.IMAGE20)
height = 13
left = 83
top = 34
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 18
borderStyle = 3 // None
endwith
this.IMAGE21 = new IMAGE(this)
with (this.IMAGE21)
height = 13
left = 83
top = 132
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 18
borderStyle = 3 // None
endwith
this.INTRO = new TEXT(this)
with (this.INTRO)
height = 224
left = 98
top = 35
width = 359
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
l1 = "<p>This Data-Entry Web Wizard helps you create an application that gathers data from user-input at the Browser, returns the data to the server and stores it in a server-side database.</p><p></p><p></p><p>This wizard will generate a data-gathering HTML page"
l1 += " and a server-side executable application (including modifiable source code).</p><p></p><p></p><p>In order to use this Wizard, you will need to provide:</p><ul><li>The Windows Path to your Web Site folder.</li><li>The URL (Web address) as defined in your W"
l1 += "eb Server for CGI-Bin.</li><li>The Windows Path to your CGI-Bin folder.</li><li>An accessible Data Module or Table</li></ul><p></p>"
text = l1
pageno = 2
endwith
this.IMAGE22 = new IMAGE(this)
with (this.IMAGE22)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 2
borderStyle = 3 // None
endwith
this.INTROTITLE = new TEXT(this)
with (this.INTROTITLE)
height = 22
left = 82
top = 5
width = 364
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 12
fontBold = true
text = "<h3>Data-Entry Web Wizard</h3>"
pageno = 2
endwith
this.IMAGE23 = new IMAGE(this)
with (this.IMAGE23)
height = 13
left = 83
top = 107
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 2
borderStyle = 3 // None
endwith
this.IMAGE24 = new IMAGE(this)
with (this.IMAGE24)
height = 13
left = 83
top = 161
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 2
borderStyle = 3 // None
endwith
this.TEXT44 = new TEXT(this)
with (this.TEXT44)
height = 22
left = 82
top = 5
width = 275
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 12
fontBold = true
text = "<h3>Publish Web Wizard</h3>"
pageno = 19
endwith
this.TEXT45 = new TEXT(this)
with (this.TEXT45)
height = 154
left = 98
top = 35
width = 350
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
l2 = "<p>This Wizard publishes static or live Visual dBASE 7 reports to your Web Site as HTML pages. A <i>static</i> report is run when this Wizard is finished. The HTML page it generates remains unchanged until you run this Wizard again. A <i>live</i> report is"
l2 += " run on your server in response to a URL called from a page on your Web site. The HTML page returned to the Browse displays the most current data.</p><p></p><p>To use this Wizard, you must provide:</p><ul><li>An accessible Visual dBASE 7 Report (.rep)</li>"
l2 += "<li>A Windows Folder for HTML (static reports)</li><li>The WIndows folder assigned to CGI-Bin (live reports)</li></ul>"
text = l2
pageno = 19
endwith
this.RECTANGLE6 = new RECTANGLE(this)
with (this.RECTANGLE6)
left = 95
top = 212
width = 352
height = 49
metric = 6 // Pixels
text = "Select Report Type"
colorNormal = "BtnText/BtnFace"
fontSize = 8
pageno = 19
endwith
this.STATICREPORTRADIO = new RADIOBUTTON(this)
with (this.STATICREPORTRADIO)
height = 24
left = 150
top = 231
width = 110
text = "Static Report"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = true
value = true
pageno = 19
endwith
this.LIVEREPORTRADIO = new RADIOBUTTON(this)
with (this.LIVEREPORTRADIO)
height = 24
left = 305
top = 231
width = 86
text = "Live Report"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = false
value = false
pageno = 19
endwith
this.IMAGE25 = new IMAGE(this)
with (this.IMAGE25)
height = 13
left = 83
top = 35
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 19
borderStyle = 3 // None
endwith
this.IMAGE26 = new IMAGE(this)
with (this.IMAGE26)
height = 13
left = 83
top = 132
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 19
borderStyle = 3 // None
endwith
this.PUBLISHREPORTFIELD = new ENTRYFIELD(this)
with (this.PUBLISHREPORTFIELD)
onChange = class::PUBLISHREPORTFIELD_ONCHANGE
height = 20
left = 98
top = 98
width = 285
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = " "
pageno = 20
borderStyle = 7 // Client
endwith
this.PUBLISHCGIFIELD = new ENTRYFIELD(this)
with (this.PUBLISHCGIFIELD)
onChange = class::PUBLISHCGIFIELD_ONCHANGE
height = 20
left = 98
top = 187
width = 285
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = " "
pageno = 20
borderStyle = 7 // Client
endwith
this.CGIFOLDERLABEL = new TEXT(this)
with (this.CGIFOLDERLABEL)
height = 14
left = 98
top = 168
width = 321
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter or select the Windows folder assigned to CGI-Bin"
pageno = 20
endwith
this.TEXT47 = new TEXT(this)
with (this.TEXT47)
height = 14
left = 98
top = 77
width = 321
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter or select the report (.rep) to publish to your Web site."
pageno = 20
endwith
this.TEXT48 = new TEXT(this)
with (this.TEXT48)
height = 22
left = 82
top = 5
width = 315
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontName = "Times New Roman"
fontSize = 12
fontBold = true
text = "<h3>Report File And CGI Folder</h3>"
pageno = 20
endwith
this.PUBLISHREPORTBUTTON = new PUSHBUTTON(this)
with (this.PUBLISHREPORTBUTTON)
onClick = class::PUBLISHREPORTBUTTON_ONCLICK
height = 19
left = 396
top = 98
width = 30
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
group = false
colorNormal = "BtnText/BtnFace"
pageno = 20
value = false
endwith
this.PUBLISHCGIBUTTON = new PUSHBUTTON(this)
with (this.PUBLISHCGIBUTTON)
onClick = class::PUBLISHCGIBUTTON_ONCLICK
height = 19
left = 396
top = 187
width = 30
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
group = false
colorNormal = "BtnText/BtnFace"
pageno = 20
value = false
endwith
this.IMAGE28 = new IMAGE(this)
with (this.IMAGE28)
height = 13
left = 82
top = 78
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 20
borderStyle = 3 // None
endwith
this.IMAGE29 = new IMAGE(this)
with (this.IMAGE29)
height = 13
left = 82
top = 169
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 20
borderStyle = 3 // None
endwith
this.TEXT49 = new TEXT(this)
with (this.TEXT49)
height = 14
left = 97
top = 131
width = 302
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter or select a Visual dBASE 7 report (.rep)"
pageno = 17
endwith
this.FIRSTREPORTFIELD = new ENTRYFIELD(this)
with (this.FIRSTREPORTFIELD)
onChange = class::FIRSTREPORTFIELD_ONCHANGE
height = 19
left = 97
top = 151
width = 313
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = " "
pageno = 17
borderStyle = 7 // Client
endwith
this.TEXT51 = new TEXT(this)
with (this.TEXT51)
height = 28
left = 98
top = 35
width = 302
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "This Wizard uses a Visual dBASE report (.rep) to return data that matches the user's query."
pageno = 17
endwith
this.IMAGE1 = new IMAGE(this)
with (this.IMAGE1)
height = 13
left = 83
top = 34
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 17
borderStyle = 3 // None
endwith
this.IMAGE2 = new IMAGE(this)
with (this.IMAGE2)
height = 13
left = 83
top = 132
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 17
borderStyle = 3 // None
endwith
this.FIRSTREPORTBUTTON = new PUSHBUTTON(this)
with (this.FIRSTREPORTBUTTON)
onClick = class::FIRSTREPORTBUTTON_ONCLICK
height = 19
left = 419
top = 151
width = 31
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
group = false
colorNormal = "BtnText/BtnFace"
pageno = 17
value = false
endwith
this.RECTANGLE5 = new RECTANGLE(this)
with (this.RECTANGLE5)
left = 98
top = 233
width = 347
height = 42
metric = 6 // Pixels
text = "Align Labels and Fields"
colorNormal = "BtnText/BtnFace"
fontSize = 8
pageno = 6
endwith
this.ALIGNDATALEFTRADIO = new RADIOBUTTON(this)
with (this.ALIGNDATALEFTRADIO)
height = 15
left = 150
top = 251
width = 111
text = "To left of page"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = true
value = true
pageno = 6
endwith
this.ALIGNDATACENTERRADIO = new RADIOBUTTON(this)
with (this.ALIGNDATACENTERRADIO)
height = 15
left = 279
top = 251
width = 114
text = "Center of page"
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
group = false
value = false
pageno = 6
endwith
this.TEXT33 = new TEXT(this)
with (this.TEXT33)
height = 14
left = 97
top = 131
width = 302
metric = 6 // Pixels
colorNormal = "BtnText/BtnFace"
fontSize = 8
text = "Enter or select a Visual dBASE 7 report (.rep)"
form.intro.text = "<p>This Data-Entry Web Wizard helps you create an application that gathers data from user-input at the Browser, returns the data to the server and stores it in a server-side database.</p><p></p><p></p><p>This wizard will generate a data-gathering HTML page and a "
form.intro.text += "server-side executable application (including modifiable source code).</p><p></p><p></p><p>In order to use this Wizard, you will need to provide:</p><ul><li>The Windows Path to your Web Site folder.</li><li>The URL (Web address) as defined in your Web Serv"
form.intro.text += "er for CGI-Bin.</li><li>The Windows Path to your CGI-Bin folder.</li><li>An accessible Data Module or Table</li></ul><p></p>"
form.introtitle.text = "<h3>Data-Entry Web Wizard</h3>"
form.intro.text = "This Query And Response Web Wizard helps you create an application in which the user enters a query in the Browser which is returned to the server which, in turn, responds with a Visual dBASE 7 HTML report.<p></p><p></p><p>This wizard will generate an HTML query page and a "
form.intro.text += "server-side executable application (including modifiable source code).</p><p></p><p></p><p>In order to use this Wizard, you will need to provide:</p><ul><li>The Windows Path to your Web Site folder.</li><li>The URL (Web address) as defined in your Web Serv"
form.intro.text += "er for CGI-Bin.</li><li>The Windows Path to your CGI-Bin folder.</li><li>At least one accessible report (.rep)</li></ul><p></p>"
form.introtitle.text = "<h3>Query And Response Web Wizard</h3>"
form.PageLogo.DataSource = 'FILENAME Query.bmp'
class::CreatePageNavigationArray()
class::PageChange(1)
return
function DRILLDOWNRADIO_onChange
class::SetupQueryArray()
return
function ENTRYFIELDRADIO_onChange
Class::SetupQueryArray()
return
function PUBLISHBUTTON_OnClick
form.cWizardType = 'Publish'
class::CreatePageNavigationArray()
form.PageLogo.DataSource = 'FILENAME Reports.bmp'
class::PageChange(1)
return
function PUBLISHREPORTBUTTON_onClick
cReport = getfile('*.rep','VdB 7 Report',.t.)
if not empty(cReport)
form.publishreportfield.value = cReport
endif
class::CheckPublishFilesAndFolders()
return true
function PUBLISHREPORTFIELD_onChange
if empty(this.value)
//do nothing
elseif at('.REP',upper(this.value)) = 0
msgbox('Not a Visual dBASE 7 Report (.rep) file!','Wrong Type',16)
elseif not file(this.value)
msgbox('File does not exist: '+this.value,'No Such File',16)
endif
class::CheckPublishFilesAndFolders()
return true
function CheckPublishFilesAndFolders
if empty(form.PublishReportField.value) or ;
empty(form.PublishCGIField.value)
Form.NextButton.Enabled = false
return false
elseif not class::IsFolderOk(Form.PublishCGIField.value)